ProgrammaticTheme

data class ProgrammaticTheme(sdkThemeColours: ProgrammaticTheme.SdkThemeColours, captureStandaloneThemeColours: ProgrammaticTheme.CaptureStandaloneThemeColours)

Model defining every colour set in a full Sensibill SDK theme.

If only some colours for each colour set need to be overridden, the createSdkTheme and createCaptureStandaloneTheme helper methods can be used.

See also

Constructors

ProgrammaticTheme
Link copied to clipboard
fun ProgrammaticTheme(sdkThemeColours: ProgrammaticTheme.SdkThemeColours, captureStandaloneThemeColours: ProgrammaticTheme.CaptureStandaloneThemeColours)

Types

CaptureStandaloneThemeColours
Link copied to clipboard
data class CaptureStandaloneThemeColours(@ColorInt() colourCaptureBackground: Int, @ColorInt() colourOnCaptureBackground: Int, @ColorInt() colourOnCaptureBackgroundDisabled: Int)
Model defining all standard colours of the Sensibill Standalone Capture module.
Companion
Link copied to clipboard
object Companion
SdkThemeColours
Link copied to clipboard
data class SdkThemeColours(@ColorInt() colourPrimary: Int, @ColorInt() colourPrimaryVariant: Int, @ColorInt() colourOnPrimary: Int, @ColorInt() colourSecondary: Int, @ColorInt() colourOnSecondary: Int, @ColorInt() colourBackground: Int, @ColorInt() colourOnBackground: Int, @ColorInt() colourSurface: Int, @ColorInt() colourSurfaceVariant: Int, @ColorInt() colourOnSurface: Int, @ColorInt() colourOnSurfaceFocus: Int, @ColorInt() colourError: Int, @ColorInt() colourOnError: Int)
Model defining all standard colours of the main Sensibill SDK Theme.

Properties

sdkThemeColours
Link copied to clipboard
val sdkThemeColours: ProgrammaticTheme.SdkThemeColours